<%@ page contentType="text/html;charset=UTF-8" %>
<%@ include file="/WEB-INF/views/include/taglib.jsp"%>
<html>
<head>
	<title>事件策略模板</title>
	<meta name="decorator" content="nblank"/>
</head>
<body>
<div class="content container">
	<h2 class="page-title">事件策略模板<small>&nbsp;&nbsp;模板列表</small></h2>
	<section class="widget widget-tabs widget-table-overflow ">
		<header>
			<ul class="nav nav-tabs">
				<li class="active"><a href="javascript:;">模板列表</a></li>
				<li><a href="${ctx}/biz/et/form">模板添加</a></li>
			</ul>
		</header>
		<%--<biz:message content="${message}"/>--%>
		<div class="body tab-content">
			<table id="contentTable" class="table table-striped table-condensed">
				<tr><th>模板名称</th><th>注释</th><th>操作</th></tr>
				<c:forEach items="${list}" var="eventTemplate">
					<tr>
						<td>${eventTemplate.name}</td>
						<td>${eventTemplate.remarks}</td>
						<td>
							<a href="${ctx}/biz/et/form?id=${eventTemplate.id}">修改</a>
							<a href="${ctx}/biz/et/delete?id=${eventTemplate.id}" class="no-pjax" onclick="confirmx('确定删除 ${eventTemplate.name} 模板?',this.href); return false;">&nbsp;&nbsp;删除</a>
							<a href="${ctx}/biz/eti/list?eventTemplateId=${eventTemplate.id}">&nbsp;&nbsp;配置</a>
						</td>
					</tr>
				</c:forEach>
			</table>
		</div>
	</section>
</div>
</body>
</html>